package cn.codeinn.api.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import cn.codeinn.model.vo.MemberVO;

@FeignClient(name = "demo-service1")
public interface MemberClient {

	@GetMapping(value = "/member/{id}")
	public MemberVO selectMemberByID(@PathVariable("id") Integer id);
}
